package com.caozhi.mspeoject.nb_search.remote;

import com.woniuxy.boot.common.bean.Insurance;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("nb-insurance")
public interface InsuranceRemote {
    @GetMapping("insurance/getById")
    Insurance getInsuranceById(@RequestParam("id") Long id);
}
